TierPricingTable\Addons\RoleBasedPricing\RoleBasedPricingRule S

Total Complexity 33
Dependencies 2
Dependents 3
Total lines 182
Lines of code 114
Logical lines of code 41
Comment lines 15
Methods 25
Properties 10

Methods 25

Method Rating Maintainability Complexity Lines of code
save()
S
54 4 20
getTieredPricingRules()
S
78 2 3
getPricingType()
S
80 2 3
setPricingType()
S
78 2 3
setTieredPricingType()
S
75 2 4
getTieredPricingType()
S
80 2 3
asArray()
S
60 1 14
build()
S
60 1 12
setMinimumOrderQuantity()
S
81 1 3
setFixedTieredPricingRules()
S
81 1 3
getFixedTieredPricingRules()
S
82 1 3
setPercentageTieredPricingRules()
S
81 1 3
getPercentageTieredPricingRules()
S
82 1 3
__construct()
S
77 1 4
getMinimumOrderQuantity()
S
82 1 3
getProductId()
S
82 1 3
getRegularPrice()
S
82 1 3
setSalePrice()
S
81 1 3
getSalePrice()
S
82 1 3
setDiscount()
S
81 1 3
getDiscount()
S
82 1 3
setRole()
S
81 1 3
getRole()
S
82 1 3
setProductId()
S
81 1 3
setRegularPrice()
S
81 1 3